
%	---	定义的新的类
\ProvidesClass{GangTimesBlog}
\NeedsTeXFormat{LaTeX2e}

%
%	---	载入Class
%


%==============导言区===================

%-------------页面设置--------------------
\LoadClass[a4paper,onecolumn,12pt]{article}
\RequirePackage[boldfont,slantfont]{xeCJK}
\RequirePackage[cs4size,UTF8,winfonts,heading=true]{ctex}
%页面大小
\usepackage{geometry}
\geometry{left=3.18cm,right=3.18cm,top=2.54cm,bottom=2.54cm}
%页面板式
\pagestyle{plain}

%--------------颜色导入----------------
\usepackage{xcolor}
\usepackage{color}

%--------------页眉页脚设置--------------

%--------------中文设置--------------
\usepackage{xeCJK}
\setCJKmainfont[BoldFont=SimHei]{SimSun}
\setCJKfamilyfont{hei}{SimHei}
\setCJKfamilyfont{kai}{KaiTi}
\setCJKfamilyfont{fang}{FangSong}
\newcommand{\hei}{\CJKfamily{hei}}
\newcommand{\kai}{\CJKfamily{kai}}
\newcommand{\fang}{\CJKfamily{fang}}

%--------------数学设置--------------
\usepackage{amsmath}
\usepackage{amstext}
\usepackage{upgreek}
\RequirePackage{bm}
\AtBeginDocument{
	\setlength{\abovedisplayskip}{5pt}
	\setlength{\belowdisplayskip}{5pt}
	\setlength{\abovedisplayshortskip}{0pt}
	\setlength{\belowdisplayshortskip}{0pt} 
}



%--------------图片设置--------------
\usepackage{float}
\usepackage{wrapfig} % Allows in-line images
\usepackage{graphicx} % Required for including pictures
\usepackage[T1]{fontenc} % Required for accented characters
\usepackage{subfigure}
\usepackage{caption}
\renewcommand{\captionfont}{\small}
\renewcommand{\captionlabelfont}{\small\bfseries}
\setlength{\textfloatsep}{0pt plus 2pt minus 2pt}
\setlength{\intextsep}{12pt plus 2pt minus 2pt}
\setlength{\abovecaptionskip}{2pt}
\setlength{\belowcaptionskip}{-8pt}
%--------------代码设置--------------
\usepackage{minted}
\definecolor{bg}{rgb}{0.92,0.95,0.95}
\newcommand{\outpython}
{
	\inputminted
		[
			breakafter=true,
			breakautoindent=true,
			fontfamily=courier,
			linenos,numbersep=5pt,
			showspaces=false,
			showtabs=false,
			bgcolor=bg,
			breaklines=true,
			python3=true
		]{python}
}
\newminted{python}
{
	breakafter=true,
	breakautoindent=true,
	breakautoindent=true,
	fontfamily=courier,
	linenos,
	numbersep=5pt,
	showspaces=false,
	showtabs=false,
	bgcolor=bg,
	breaklines=true,
	python3=true
}

%--------------作者信息设置--------------

%--------------段落设置--------------
\usepackage{indentfirst}
\setlength{\parskip}{0.5\baselineskip}

%--------------标题设置--------------
%全文标题
\usepackage{titlesec}
\makeatletter  %使用\@前必须导入
\renewcommand{\maketitle}
{ 
\begin{center}{\@title}\vspace{4pt}\\
{\@author} \qquad \@date\vspace{0pt} 
\end{center}
}
\title{\noindent\large\textbf{Logsitic回归分析}} 
\author{陈小刚 \qquad {\textit{GangTimes}}} 
\date{\today}
%段落标题
\newcommand{\mytitle}{\noindent\textbf}



%--------------正文设置--------------
\newcommand{\mycontent}{\newline\indent}
